﻿namespace Uber.WebUI
{
    using System.Web.Mvc;

    public static class Helpers
    {
        public static string Include(this HtmlHelper html, string url)
        {
            return string.Format("<script type='text/javascript' src='{0}' />",
                new UrlHelper(html.ViewContext.RequestContext)
                .Content("~\\Scripts\\" + url));
        }
    }
}
